<template>
	<view>
	</view>
</template>

<script>
	import apis from '@/apis.js'
	export default {
		data() {
			return {
				
			}
		},
		onLoad() {
			this.getList()
		},
		methods: {
			getList() {
				uni.request({
					url: apis.wxAuthorize,
					data: {},
					method: 'get',
					success: (result) => {
						// console.log(result.data.msg)
						window.location.replace(result.data.msg);
					},
				})
			}
		}
	}
</script>

<style>

</style>
